﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ApiCommon
{
    public class ApiException : Exception
    {
        private int code;
        public ApiException(int code, string message)
            : base(message)
        {
            this.code = code;
        }

        public int Code
        {
            get
            {
                return this.code;
            }
        }
    }
}